# _*_ coding ：utf-8 _*_
# @Time : 2023/9/19 10:13
# @Author : 陈鸿宇
# @File : test
# @Project : ttkbootstrap.py
import random
print("计科1914-02-陈鸿宇")
num = random.randint(0, 100)
i = 1
while True:
    mynum = input("请输入:")
    if i == 5:
        print("这局你输了！正确的数是" + str(num))
        break
    elif num == int(mynum):
        print("棒！你猜对了！")
        i += 1
        break
    elif int(mynum) < num:
        print("比这个大！")
        i += 1
    else:
        print("比这个小！")
        i += 1



